import java.util.Random;

public class ValueTest {
    public static void main(String[] args) {
        ValueTest valueTest = new ValueTest();
        int a=0, b=0, c=0;
        valueTest.getValue(a,b,c);
    }
    //一般边界值，13个
    public void getValue(int a,int  b,int  c) {
        Random random = new Random();
        int times = 0;
        int bianjie = 1;
        while (times < 40000) {
               //b=0;
                a = random.nextInt(100) + 1;
                b = random.nextInt(100) + 1;
            c = random.nextInt(100) + 1;
            System.out.println(a + "," + b + "," + c + "," + "\"" + classify(a, b, c) + "\"");
            times++;
        }
    }
        public String classify ( int a, int b, int c){
            if (error(a, b, c)) {
                return "输入错误";
            }
            if (isNotTriangle(a, b, c)) {
                return "非三角形";
            } else if (scalene_test(a, b, c)) {
                return "不等边三角形";
            } else if (equalLaterialTriangle(a, b, c)) {
                return "等边三角形";
            } else {
                return "等腰三角形";
            }
        }
        public boolean error ( int a, int b, int c){
            return a < 1 || a > 100 || b < 1 || b > 100 || c < 1 || c > 100;
        }
        public boolean equalLaterialTriangle ( int a, int b, int c){
            return a == b && a == c;
        }
        public boolean isNotTriangle ( int a, int b, int c){
            return !((a + b > c) && (a + c > b) && (b + c > a));
        }
        public boolean scalene_test ( int a, int b, int c){
            return a != b && a != c && b != c;
        }

}
